package com.example.finalproject.experiments.lifecycle

import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.example.finalproject.R

class DialogActivity : AppCompatActivity() {
    private val tag = "DialogActivity"

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_dialog)
        Log.d(tag, "onCreate: DialogActivity")
    }

    override fun onStart() {
        super.onStart()
        Log.d(tag, "onStart: DialogActivity")
    }

    override fun onResume() {
        super.onResume()
        Log.d(tag, "onResume: DialogActivity")
    }

    override fun onPause() {
        super.onPause()
        Log.d(tag, "onPause: DialogActivity")
    }

    override fun onStop() {
        super.onStop()
        Log.d(tag, "onStop: DialogActivity")
    }

    override fun onDestroy() {
        super.onDestroy()
        Log.d(tag, "onDestroy: DialogActivity")
    }
}